package com.itheima.Controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author :ebdbbd
 * @declaration:
 * @create 2022-08-09 9:02
 */
@RestController
@RequestMapping("/")
public class test01Controller {
@GetMapping("hello")
    public String helloController(){
        System.out.println("hello,centos!");
        return "OK";
    }


}
